import pytest

from api.ihrmEmpApi import IhrmEmpApi
from commen.assert_tools import assert_methods


class TestQueryEmp:

    @pytest.mark.parametrize()
    def test_query(self):
        emp_id='1482901092122615808'
        resp_header = {"Authorization": "Bearer fddbff8b-a366-4e9e-8a1f-538d702d39e3"}
        resp_data = {"username":"李四007"}
        resp = IhrmEmpApi.modify_emp(emp_id,resp_header,resp_data)
        assert_methods(resp, 200, True, 10000, "操作成功")